const fs = require('fs');

function handle(req, res) {
    let data = getJson(res);

}

function getJson(res) {
    fs.readFile('./util/list.json', 'utf8', function (err, data) {
        if (err) {
            console.log(err)
        }
        else {
            res.end(data);
        }
    });
}
exports.handle= handle;